package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcAppSleepRangeRecord;
import com.csun.cmny.provider.model.dto.app.AppSleepDateQueryDto;
import com.csun.cmny.provider.model.vo.app.AppSingleDaySleepDataVo;

import java.util.List;

public interface DmcAppSleepRangeRecordService extends IService<DmcAppSleepRangeRecord> {

    /**
     * 通过日期和设备Id查询老人单日睡眠数据
     * @param: [appSleepDateQueryDto]
     * @return: com.csun.cmny.provider.model.vo.app.AppSingleDaySleepDataVo
     */
    List<DmcAppSleepRangeRecord> getSleepRangesByDeviceIdAndDate(AppSleepDateQueryDto appSleepDateQueryDto);
}
